package com.dao.good;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface GoodDao {
    public List<Object> getSearchGoodList(Connection connection,String goodName) throws SQLException;

    public List<Object> getUserGoodList(Connection connection ,int userId) throws SQLException;

    public int UserGoodListDel(Connection connection,int goodId) throws SQLException;

    public int GoodAdd(Connection connection, int userId, String goodName, String goodAddress, String goodExplain) throws SQLException;


}
